WC_Asaas\Gateway\Gateway C

Total Complexity 112
Dependencies 18
Dependents 13
Total lines 861
Lines of code 439
Logical lines of code 263
Comment lines 292
Methods 35
Properties 8

Methods 35

Method Rating Maintainability Complexity Lines of code
generate_transactions_queue()
B
34 16 88
need_single_payment_transaction()
A
51 10 26
order_has_subscription()
A
52 8 23
process_transactions_rollback()
A
48 7 32
process_refund()
S
50 7 27
set_customer()
S
49 6 30
enable_disable_customer_notifications()
S
56 5 17
process_admin_options()
S
59 4 14
is_available()
S
59 4 14
process_admin_shared_options()
S
59 4 13
get_customer()
S
63 4 11
send_checkout_failure()
S
58 3 16
get_shared_fields()
S
65 4 9
get_order_total()
S
62 3 10
__construct()
S
51 1 26
validate_min_total_field()
S
68 2 7
awaiting_payment_status()
S
67 2 8
get_payment_id_from_order()
S
74 2 4
send_checkout_failure_response()
S
69 2 7
add_checkout_validation_errors()
S
68 2 7
init_logger()
S
68 2 7
get_type()
S
82 1 3
prefix()
S
100 1 0
setup_api()
S
75 1 4
add_schedule_single_event()
S
79 1 3
add_payment_id_to_order()
S
76 1 4
get_api_key()
S
82 1 3
get_admin_settings()
S
82 1 3
create_due_date()
S
76 1 4
init_form_fields()
S
80 1 3
get_logger()
S
82 1 3
get_error_code()
S
82 1 3
replace_config_url()
S
80 1 3
add_validation_errors()
S
75 1 4
validate_fields()
S
80 1 3